Skip to content
This repository was archived by the owner on Feb 8, 2021. It is now read-only.

container.c: fix warnings of "format-overflow=" with new GCC#365

Open
teawater wants to merge 1 commit intohyperhq:masterfrom
teawater:fix-gcc8
Open

container.c: fix warnings of "format-overflow=" with new GCC#365
teawater wants to merge 1 commit intohyperhq:masterfrom
teawater:fix-gcc8

Conversation

@teawater
Copy link
Member

Change sprintf to snprintf and check the return values of snprintf
to handle this warning.

Fixes: #364

Signed-off-by: Hui Zhu [email protected]

@Jimmy-Xu
Copy link

Can one of the admins verify this patch?

Change sprintf to snprintf and check the return values of snprintf
to handle this warning.

Fixes: hyperhq#364

Signed-off-by: Hui Zhu <[email protected]>
@gnawux
Copy link
Member

gnawux commented Nov 28, 2018

�test this please, hykins

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants